/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wii.elpro.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @author hendro
 */
public class POInternal {
    private long id;
    private Date tglPo;
    private Quotation quotation;
    /**
     *  NOmor POInternal digenerate otomatis saat quotation dibuat
     *  format : xxxxx/zzz/RIN/mm/yy
     *  xxxxx ---> nomor urut
     *  zzz  ---> kode cabang
     *  RIN  ---> statik Rahmi Ida Nusantara
     *  mm  ---> bulan
     *  yy  ---> tahun
     */
    private byte approveByMarketing;
    private byte approveByFinance;
    private byte approveByFactory;
    private String poNumber;
    private String poCustomer;    
    private List<POInternalItem> items = new ArrayList<POInternalItem>();
    public POInternal(){}

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getTglPo() {
        return tglPo;
    }

    public void setTglPo(Date tglPo) {
        this.tglPo = tglPo;
    }

    public Quotation getQuotation() {
        return quotation;
    }

    public void setQuotation(Quotation quotation) {
        this.quotation = quotation;
    }

    public String getPoNumber() {
        return poNumber;
    }

    public void setPoNumber(String poNumber) {
        this.poNumber = poNumber;
    }

    public String getPoCustomer() {
        return poCustomer;
    }

    public void setPoCustomer(String poCustomer) {
        this.poCustomer = poCustomer;
    }

    public List<POInternalItem> getItems() {
        return items;
    }

    public void setItems(List<POInternalItem> items) {
        this.items = items;
    }

    public byte getApproveByMarketing() {
        return approveByMarketing;
    }

    public void setApproveByMarketing(byte approveByMarketing) {
        this.approveByMarketing = approveByMarketing;
    }

    public byte getApproveByFinance() {
        return approveByFinance;
    }

    public void setApproveByFinance(byte approveByFinance) {
        this.approveByFinance = approveByFinance;
    }

    public byte getApproveByFactory() {
        return approveByFactory;
    }

    public void setApproveByFactory(byte approveByFactory) {
        this.approveByFactory = approveByFactory;
    }

 
   
    
}
